package cn.stylefeng.guns.modular.examination.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 创建考试
 * </p>
 *
 * @author CHENCHEN
 * @since 2022-07-19
 */
@TableName("examination")
public class Examination implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 考试类型（0自测，1日考，2周考，3月考）
     */
    @TableField("type")
    private String type;

    /**
     * 创建时间
     */
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 考试时长
     */
    @TableField("duration")
    private Integer duration;

    /**
     * 单选题分数
     */
    @TableField("single_choice_score")
    private Double singleChoiceScore;

    /**
     * 多选题
     */
    @TableField("multiple_choice_score")
    private Double multipleChoiceScore;

    /**
     * 判断题分数
     */
    @TableField("judgement_score")
    private Double judgementScore;

    /**
     * 包含知识点
     */
    @TableField("knowledge_ids")
    private String knowledgeIds;

    /**
     * 单选题集合
     */
    @TableField("single_choice_ids")
    private String singleChoiceIds;

    /**
     * 多选题集合
     */
    @TableField("multiple_choice_ids")
    private String multipleChoiceIds;

    /**
     * 判断题集合
     */
    @TableField("judgement_score_ids")
    private String judgementScoreIds;

    /**
     * 开始时间
     */
    @TableField("start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField("end_time")
    private Date endTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Double getSingleChoiceScore() {
        return singleChoiceScore;
    }

    public void setSingleChoiceScore(Double singleChoiceScore) {
        this.singleChoiceScore = singleChoiceScore;
    }

    public Double getMultipleChoiceScore() {
        return multipleChoiceScore;
    }

    public void setMultipleChoiceScore(Double multipleChoiceScore) {
        this.multipleChoiceScore = multipleChoiceScore;
    }

    public Double getJudgementScore() {
        return judgementScore;
    }

    public void setJudgementScore(Double judgementScore) {
        this.judgementScore = judgementScore;
    }

    public String getKnowledgeIds() {
        return knowledgeIds;
    }

    public void setKnowledgeIds(String knowledgeIds) {
        this.knowledgeIds = knowledgeIds;
    }

    public String getSingleChoiceIds() {
        return singleChoiceIds;
    }

    public void setSingleChoiceIds(String singleChoiceIds) {
        this.singleChoiceIds = singleChoiceIds;
    }

    public String getMultipleChoiceIds() {
        return multipleChoiceIds;
    }

    public void setMultipleChoiceIds(String multipleChoiceIds) {
        this.multipleChoiceIds = multipleChoiceIds;
    }

    public String getJudgementScoreIds() {
        return judgementScoreIds;
    }

    public void setJudgementScoreIds(String judgementScoreIds) {
        this.judgementScoreIds = judgementScoreIds;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Examination{" +
        "id=" + id +
        ", type=" + type +
        ", createTime=" + createTime +
        ", duration=" + duration +
        ", singleChoiceScore=" + singleChoiceScore +
        ", multipleChoiceScore=" + multipleChoiceScore +
        ", judgementScore=" + judgementScore +
        ", knowledgeIds=" + knowledgeIds +
        ", singleChoiceIds=" + singleChoiceIds +
        ", multipleChoiceIds=" + multipleChoiceIds +
        ", judgementScoreIds=" + judgementScoreIds +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        "}";
    }
}
